#if !defined(AFX_CREATNAME_H__AF0DDCF4_09E1_436C_869F_9AAC40B1D839__INCLUDED_)
#define AFX_CREATNAME_H__AF0DDCF4_09E1_436C_869F_9AAC40B1D839__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// CreatName.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CCreatName dialog

class CCreatName : public CDialog
{
// Construction
public:
	CCreatName(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CCreatName)
	enum { IDD = IDD_CreatName };
		CEdit	m_ED6;
	CEdit	m_ED5;
	CEdit	m_ED4;
	CEdit	m_ED3;
	CEdit	m_ED2;
	CEdit	m_ED1;
	CComboBox	m_combo9;
	CComboBox	m_combo8;
	CComboBox	m_combo7;
	CComboBox	m_combo6;
	CComboBox	m_combo5;
	CComboBox	m_combo4;
	CComboBox	m_combo3;
	
		// NOTE: the ClassWizard will add data members here
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CCreatName)

	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CCreatName)
	virtual BOOL OnInitDialog();
	afx_msg void OnButton1();
	afx_msg void OnSelchangeCombo1();
	afx_msg void OnButton2();
	afx_msg void OnButton3();
	//afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:

private:
	void DName();
	void WName();
	void CnName();

	CString JoinStr(int j,int k);
	CString SplitStr(CString Str);
	void InitCombo(int ID,CString Item[],int j,int k);



};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_CREATNAME_H__AF0DDCF4_09E1_436C_869F_9AAC40B1D839__INCLUDED_)
